#pragma once

#ifndef _Quad_h_
#define _Quad_h_

#include "Mesh.h"
#include "Vertex.h"

#include <vector>

namespace Framework {

using namespace std;

class Quad abstract:
            public Mesh {
public:
    Quad(Game* game);
    virtual ~Quad(void);
    FLOAT GetAlpha() const;
    void SetAlpha(FLOAT val);
    bool GetBillboard() const;
    void SetBillboard(bool val);
    virtual D3DXMATRIX GetWorldMatrix();
    virtual void Initialize();
    virtual void LoadContent();
private:
    FLOAT alpha;
    bool billboard;
    vector<Vertex> vertices;
    vector<WORD> indices;
    void GenerateMesh();
};

}

#endif